package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 商机状态组类别表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "business_type")
public class BusinessType implements Serializable {
    @TableId(value = "type_no", type = IdType.INPUT)
    private Integer typeNo;

    /**
     * 状态组名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 员工ids
     */
    @TableField(value = "user_ids")
    private String userIds;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 0禁用1启用2删除
     */
    @TableField(value = "`status`")
    private Integer status;

    private static final long serialVersionUID = 1L;
}